// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "PaperZDCharacter.h"
#include "KnightCharacter.generated.h"

/**
 * 
 */
UCLASS()
class MYTILEMAPGAME_API AKnightCharacter : public APaperZDCharacter
{
	GENERATED_BODY()
public:
	AKnightCharacter();
private:
	//添加相机摇臂组件AllowPrivateAccess = "true"使私有成员在蓝图可以被访问，并且保持C++中的私有访问权限
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Component, meta = (AllowPrivateAccess = "true"))
	class USpringArmComponent* SpringArmComponent;

	//添加相机组件
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Component, meta = (AllowPrivateAccess = "true"))
	class UCameraComponent* CameraComponent;
};
